package com.baitengsoft.patentapimonitor.api.service;

import com.baitengsoft.patentapimonitor.api.entity.WebUserareaEntity;
import com.baitengsoft.patentapimonitor.api.entity.WebUsermenuEntity;
import com.baitengsoft.patentapimonitor.api.model.WebUserMenuModel;

import java.util.List;

/**
 * Created by QEK on 2017/12/25.
 */
public interface WebUserMenuService extends BaseService<WebUsermenuEntity> {

    List<WebUserMenuModel> getUserMenuListByUserId(Integer userId);

    List<WebUsermenuEntity> searchByUserId(int userId);

    Integer delUsermenuByUserId(int userId);

    Integer saveUsermenu(WebUsermenuEntity entity);
}
